<?php
/**
 * Created by PhpStorm.
 * User: xiaoxin
 * Date: 2018/10/19 0019
 * Time: 19:37
 */

namespace app\index\controller;
use app\index\model\User;
use think\Controller;

class My extends Controller
{
	/**
	 * 我的页面主页
	 * @return mixed
	 */
	public function index(){
		$data  = User::get(session('uid'));
		$this->assign('data',$data);
		return $this->fetch();
	}

}